import React, { Component } from "react";
import initialStore from "../store";

const isServer = typeof window === "undefined";
const __NEXT_REDUX_STORE__ = "__NEXT_REDUX_STORE__";

function getOrCreateStore(initialState) {}

export default (Comp) => {
  class withReduxApp extends Component {
    render() {
      return <Comp />;
    }
  }

  withReduxApp.getInitialProps = async (ctx) => {};

  return withReduxApp;
};
